/*
 * Powered By dico
 * Since 2017 - 2018
 */
package com.seeyoui.kensite.bussiness.orderlang.productAttachment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.seeyoui.kensite.common.base.domain.DataEntity;
import com.seeyoui.kensite.common.util.excel.annotation.ExcelField;

/**
 * ProductAttachment
 * @author dico
 * @version 2.0
 * @since 1.0
 * @date 2018-02-07
 */

@JsonIgnoreProperties(ignoreUnknown = true)
public class ProductAttachment extends DataEntity<ProductAttachment> {
	private static final long serialVersionUID = 1L;

	@ExcelField(title="商品id", type=1, align=2, sort=7, mod="ol_product_attachment|PRODUCT_ID")
	private String productId;//商品id
	@ExcelField(title="附件id", type=1, align=2, sort=8, mod="ol_product_attachment|ATTACHMENT_ID")
	private String attachmentId;//附件id
	@ExcelField(title="附件类型，0图片，1文字文件，2视频", type=1, align=2, sort=9, mod="ol_product_attachment|TYPE")
	private String type;//附件类型，0图片，1文字文件，2视频
	@ExcelField(title="图片排序，默认为0的是第一张", type=1, align=2, sort=10, mod="ol_product_attachment|SEQ")
	private String seq;//图片排序，默认为0的是第一张
	@ExcelField(title="附件保存地址", type=1, align=2, sort=11, mod="ol_product_attachment|URL")
	private String url;//图片排序，默认为0的是第一张

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductId() {
		return this.productId;
	}
	public void setAttachmentId(String attachmentId) {
		this.attachmentId = attachmentId;
	}

	public String getAttachmentId() {
		return this.attachmentId;
	}
	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return this.type;
	}
	public void setSeq(String seq) {
		this.seq = seq;
	}

	public String getSeq() {
		return this.seq;
	}
}